Add gtk_scale_button_get_popup
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 3 Jul 2008 18:03:13 +0000 (18:03 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 3 Jul 2008 18:03:13 +0000 (18:03 +0000)
svn path=/trunk/; revision=20748

ChangeLog
docs/reference/gtk/gtk-sections.txt
gtk/gtk.symbols
gtk/gtkscalebutton.c
gtk/gtkscalebutton.h

index 8457c7aa02e1890eed1f60505a86ebe670ea5bbe..b734a1d485ffe71f4139afb49bd0628f7919df48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-07-03  Matthias Clasen  <mclasen@redhat.com>
+       
+       Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
+       private
+
+       * gtk/gtk.symbols:
+       * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
+       accessor for the popup. Patch by Christian Dywan
+
 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 535498 – Printing demo broken
index db652d1598c14c2d5898e2fd1568456bb4acd1d1..84638857f7a4bd51167c2aa60ac5c0cf530f8760 100644 (file)
@@ -3147,6 +3147,7 @@ gtk_scale_button_set_icons
 gtk_scale_button_set_value
 gtk_scale_button_get_adjustment
 gtk_scale_button_get_value
+gtk_scale_button_get_popup
 <SUBSECTION Standard>
 GTK_SCALE_BUTTON
 GTK_IS_SCALE_BUTTON
index c3d1071524f2de16dbe0182d868a183e40de8ed9..60ee9720de294fb9ca090547086afda5b964ddf9 100644 (file)
@@ -3311,6 +3311,7 @@ gtk_scale_button_get_adjustment
 gtk_scale_button_set_adjustment
 gtk_scale_button_get_orientation
 gtk_scale_button_set_orientation
+gtk_scale_button_get_popup
 #endif
 #endif
 
index 30ef2608e75e40fc3bd2297460712fa3d5cb5a8e..27b34984b8cc2fedb7a6703612ad47c1daf5673b 100644 (file)
@@ -758,6 +758,22 @@ gtk_scale_button_set_orientation (GtkScaleButton *button,
     }
 }
 
+/**
+ * gtk_scale_button_get_popup:
+ * @button: a #GtkScaleButton
+ *
+ * Retrieves the popup of the #GtkScaleButton.
+ *
+ * Since: 2.14
+ */
+GtkWidget*
+gtk_scale_button_get_popup (GtkScaleButton *button)
+{
+  g_return_if_fail (GTK_IS_SCALE_BUTTON (button));
+
+  return button->priv->dock;
+}
+
 /*
  * button callbacks.
  */
index 5ba1c8bdd1c3ee9612904085b59feee3cb28d43b..6ba51b229a4f13b75f8a74d0330f168fbe3be613 100644 (file)
@@ -98,6 +98,7 @@ void             gtk_scale_button_set_adjustment  (GtkScaleButton  *button,
 GtkOrientation   gtk_scale_button_get_orientation (GtkScaleButton  *button);
 void             gtk_scale_button_set_orientation (GtkScaleButton  *button,
                                                    GtkOrientation   orientation);
+GtkWidget *      gtk_scale_button_get_popup      (GtkScaleButton *button);
 
 G_END_DECLS